﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【角色与权限】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 角色与权限
    /// </summary>
    [SugarTable("dbo.RolePermission")]
    public partial class RolePermission
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "RolePermissionID")]
        public int RolePermissionID { get; set; }
        
        /// <summary>
        /// 用户角色
        /// </summary>
        [SugarColumn(ColumnName = "RoleID")]
        public int RoleID { get; set; }
        
        /// <summary>
        /// 权限
        /// </summary>
        [SugarColumn(ColumnName = "PermissionID")]
        public int PermissionID { get; set; }
    }
}
